Lines of Comments as a Noteworthy Metric for Analyzing Fault-Proneness in Methods
نویسندگان
چکیده
This paper focuses on the power of comments to predict fault-prone programs. In general, comments along with executable statements enhance the understandability of programs. However, comments may also be used to mask the lack of readability in the program, therefore well-written comments are referred to as “deodorant to mask code smells” in the field of code refactoring. This paper conducts an empirical analysis to examine whether Lines of Comments (LCM) written inside a method’s body is a noteworthy metric for analyzing fault-proneness in Java methods. The empirical results show the following two findings: (1) morecommented methods (the methods having more comments than the amount estimated by size and complexity of the methods) are about 1.6 – 2.8 times more likely to be faulty than the others, and (2) LCM can be a useful factor in fault-prone method prediction models along with the method size and the method complexity. key words: product metrics, fault-prone method prediction, comments, regression model
منابع مشابه
Evaluation of Classifiers in Software Fault-Proneness Prediction
Reliability of software counts on its fault-prone modules. This means that the less software consists of fault-prone units the more we may trust it. Therefore, if we are able to predict the number of fault-prone modules of software, it will be possible to judge the software reliability. In predicting software fault-prone modules, one of the contributing features is software metric by which one ...
متن کاملInvestigating the Effect of Object-oriented Metrics on Fault Proneness Using Empirical Analysis
This paper presents an innovative metric based on a class abstraction to capture aspects of software complexity through combinations of class characteristics. The study also used software metrics effectiveness in finding the classes in different error categories for the three versions of Eclipse, the Java-based open-source Integrated Development Environment. Many studies used Logistic regressio...
متن کاملEmpirical Validate C&K Suite for Predict Fault-Proneness of Object-Oriented Classes Developed Using Fuzzy Logic
Empirical validation of software metrics suites to predict fault proneness in object-oriented (OO) components is essential to ensure their accuracy in practical industrial. In this paper, we empirically validate the Chidamber and Kemerer (CK) metrics suite metrics for their ability to predict software quality in terms of fault-proneness: we explore the ability of these metrics suites to predict...
متن کاملSoftware Metrics Evaluation Based on Entropy
Software engineering activities in the Industry has come a long way with various improvements brought in various stages of the software development life cycle. The complexity of modern software, the commercial constraints and the expectation for high quality products demand the accurate fault prediction based on OO design metrics in the class level in the early stages of software development. T...
متن کاملTransitive Coupling (TC) and Fault Proneness (FP) in Object Oriented Systems: A New Methodology
Demand for Quality Software has undergone with rapid growth during the last few years. This is leading to an increase in the development of metrics for measuring the properties of software such as Coupling, Cohesion or Inheritance that can be used in early quality assessments. Quality Models that explore the relationship between these properties and quality attributes such as fault proneness, m...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IEICE Transactions
دوره 98-D شماره
صفحات -
تاریخ انتشار 2015